<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/3/15
 * Time: 11:03
 */

echo "<title>8-5 内置函数</title>";
echo "<p style='text-align: center'><a href=\"index.php\"><font size=\"4\">目录</font></a></p>";
header("Content-type: text/html; charset=utf-8");
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />";

$str = '苹果很好吃。';
//请将变量$str中的苹果替换成香蕉
$str = str_replace('苹果','香蕉',$str);

echo $str;










